#pragma once

#include "Device.h"


namespace uml {

Device::Device(const QString& umlType)
    : Node(umlType) {}

void Device::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    Node::fromJson(json, errorList);
}

void Device::toJson(QJsonObject& json) {
    Node::toJson(json);
}

} // namespace uml
